package com.fang.循环依赖.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

/**
 * @author Fang Ruichuan
 * @date 2023-01-10 20:45
 */
@Service
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
public class TestService1 {

    @Autowired
    private TestService2 testService2;

    public void test1() {

    }
}
